<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
 */


 /*
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
  for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
    $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
  }
  $content .= '</ol>' . "\n";
  $content .= '</div>' . "\n";
  $content .= '</div>';
  */

  //modify by  vincent, hard code the best sellers
  $content = '';
	
	//top 1
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.1</span></div>';
	$content .= '<a href="http://www.hiteclaser.com/445nm2w-p-249.html"><img src="/images/blue-1000mw-2000mw-new-laser pointer.jpg"  width="150" height="130" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.hiteclaser.com/445nm2w-p-249.html">高出力445nm2Wレーザーポインター 懐中電灯 特売!</a>';
	$content .= '<div>15990円</div>';
	$content .= '</div>';
	
	
		
	//top 2
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.2</span></div>';
	$content .= '<a href="http://www.hiteclaser.com/2013500mw532nm-p-362.html"><img src="/images/532nm-300mw-silvery-laser-torch.jpg"  width="150"  ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.hiteclaser.com/2013500mw532nm-p-362.html">2013 新品プロモーション! 500mw 532nm 緑色レーザー懐中電灯</a>';
	$content .= '<div>11900円</div>';
	$content .= '</div>';
	
	
	
	//top 3
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.3</span></div>';
	$content .= '<a href="http://www.hiteclaser.com/500mw800mw635nm-p-365.html"><img src="/images/red-laser-dazzling-device.jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.hiteclaser.com/500mw800mw635nm-p-365.html">500mw~800mw 635nm 方形 赤色 レーザー 手持ち型 眩暈器 個人的な自己防衛</a>';
	$content .= '<div>13900円</div>';
	$content .= '</div>';
	
	
	
	
	
	
	//top 4
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.4</span></div>';
	$content .= '<a href="http://www.hiteclaser.com/200mw200mw2-p-368.html"><img src="/images/Reg and green 200mw laser pointer together.jpg"  width="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.hiteclaser.com/200mw200mw2-p-368.html">激安！200mw グリーン & 200mw 赤色 2 個 レーザーポインター</a>';
	$content .= '<div>8900円</div>';
	$content .= '</div>';
	
	
	//top 5
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.5</span></div>';
	$content .= '<a href="http://www.hiteclaser.com/2013500mw-p-22.html"><img src="/images/Real 500mw green laser pointer.jpg"  width="150"  ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.hiteclaser.com/2013500mw-p-22.html">2013最新型 高い安定性 1000mW 緑色 レーザーポインター 世界一流の超強力</a>';
	$content .= '<div>21900円</div>';
	$content .= '</div>';	
	
	
	



	 //base  top5
	  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
	  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
	  for ($i=1; $i<=5; $i++) {
		$content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
	  }
	  $content .= '</ol>' . "\n";
	  $content .= '</div>' . "\n";
	  $content .= '</div>';



?>